app_name = "简易模板"
app_description = "简易模板-1"
app_version = "1.0.0"
app_host = "0.0.0.0"
app_port = 8005
router_dict = {
    "router_main": "/", 
    "router_upload": "/router_upload",
    "router_html": "/text2html"
}

# 是否挂载静态文件目录
enable_static_files = True
# 静态文件目录路径
static_files_directory = "static"
# 静态文件挂载URL前缀
static_files_url = "/static"

# ARQ配置选项
redis_host = 'localhost'
redis_port = 6379
redis_db = 0
redis_url = f'redis://{redis_host}:{redis_port}/{redis_db}'
arq_queue_name = 'file_uploads'
arq_worker_name = 'fastapi_arq_worker'
upload_dir = "static/uploads"

# Redis连接配置
redis_conn_retry = 5
redis_conn_timeout = 30
